import Mock from "mockjs";
const example: IMockOMockList = {
  url: "/bigscreen/countUserNum",
  type: "get",
  response: () => {
    const a = Mock.mock({
      success: true,
      data: {
        offlineNum: "@integer(50, 100)",
        alarmNum: "@integer(20, 100)",
        lockNum: "@integer(10, 50)",
        totalNum: 368
      }
    });
    a.data.onlineNum = a.data.totalNum - a.data.offlineNum - a.data.lockNum - a.data.alarmNum;
    return a;
  }
};
export default example;
